getBinInformation

fun getBinInformation(    binNumber: String,     currencyCode: String? = null,     amount: Double? = null,     onSuccess: (binInfo: DLBinInfo) -> Unit,     onError: (error: DLError) -> Unit)

Get information about a card from its bin number (first 6 digits)

Parameters

binNumber

of the card to which get the associated information. Bin number refers to the first 6 digits of the card number.

currencyCode

three digits currency code for the installments plan

amount

total amount to create installments plan

onSuccess

function that is called when the request produces a valid result.

onError

function that is called when an error occurs.